package com.wu.client.service;

import com.wu.client.vo.req.post.PostAddReq;
import com.wu.client.vo.res.PageResp;
import com.wu.client.vo.res.community.PostResp;

/**
 * @author Cousin
 * @date 2025/4/7
 * @Description
 */
public interface CommunityService {
    void addPost(PostAddReq post);

    PageResp<PostResp> getPosts(Integer page, Integer limit, Long userId, String type);

    void deletePost(String postId);

    PageResp<PostResp> getUserPosts(Integer page, Integer limit, Long currentUserId, Long userId);
}
